/**
 * Copyright &copy; 2012-2014 <a href="https://github.com/thinkgem/jeesite">JeeSite</a> All rights reserved.
 */
package cn.knet.sp.ncrm.modules.sys.region.dao;

import java.util.List;

import cn.knet.sp.ncrm.common.persistence.CrudDao;
import cn.knet.sp.ncrm.common.persistence.annotation.MyBatisDao;
import cn.knet.sp.ncrm.modules.sys.region.entity.Region;

/**
 * 客户区域DAO接口
 * @author zhangbin
 * @version 2015-08-27
 */
@MyBatisDao
public interface RegionDao extends CrudDao<Region> {

	int findDistinctRegion(Region region);

	List<Region> findAdminList(Region region);

	void insertAdmin(Region region);

	void updateAdmin(Region region);

	void updateChild(Region region);

	Region getByName(Region region);

	List<Region> selectCombinList();

	int findChina(Region region);
}